<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<!DOCTYPE html>
<html>
<head>

 	<meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
	<title>登录</title>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
	<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
 	<script src="js/jquery-2.1.4.js"></script>
	<script src="js/bootstrap.js"></script>
	<script src="js/npm.js"></script>
 
    
    <!-- Bootstrap -->
    <link href="css/jquery-ui-1.9.2.custom.css" rel="stylesheet">
    <link href="css/bootstrap.css" rel="stylesheet">
    <link href="css/bootstrap-theme.css" rel="stylesheet">
    <link href="css/buttons.css" rel="stylesheet">

</head>
<body> 
<header>
<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
	<div class="container-fluid">
	
	<div class="row">	
		<div class="col-md-4" align="center">
			<div class="navbar-header">
				<a class="navbar-brand">
					<img src="images/HEU.jpg" height="50px" width="50px" />
					学生信息管理系统
				</a>
			</div>
		</div>
		<div class="col-md-4"></div>
		<div class="col-md-4"></div>
	</div>	
	<div class="row">
	<div class="col-md-2"></div>
	<div class="col-md-8" align="center">
		<div class="collapse navbar-collapse navbar-top-collapse" align="center">
			<ul class="nav navbar-nav" id="mytab"> 
					<li class="dropdown">
							    <a href="#" class="dropdown-toggle" data-toggle="dropdown">
							      学生信息<span class="caret"></span>
							    </a>
							    <ul class="dropdown-menu dropdown-main-nav dropdown-mega" role="menu" id="mytab1">
								    <li><a href="addStudent.jsp" role="menuitem" tabindex="-1">新增学生信息</a></li>
								    <li class="divider"></li>
								    <li><a href="ViewStudents.action" role="menuitem" tabindex="-1">显示学生信息</a></li>
							    </ul>
					</li>
				
					<li class="dropdown">
					    <a href="#" class="dropdown-toggle" data-toggle="dropdown">
					      教师信息<span class="caret"></span>
					    </a>
					    <ul class="dropdown-menu dropdown-main-nav dropdown-mega" role="menu">
						    <li role="presentation"><a href="addTeacher.jsp" role="menuitem" tabindex="-1">新增教师信息</a> </li>
						    <li class="divider"></li>
						    <li role="presentation"><a href="ViewTeachers.action" role="menuitem" tabindex="-1">显示教师信息</a></li>
					    </ul>
					</li>
					
					<li class="dropdown">
					    <a href="#" class="dropdown-toggle" data-toggle="dropdown">
					      课程信息<span class="caret"></span>
					    </a>
					    <ul class="dropdown-menu dropdown-main-nav dropdown-mega" role="menu">
						    <li role="presentation"><a  href="addCourse.jsp" role="menuitem" tabindex="-1">新增课程信息</a></li>
						    <li class="divider"></li>
						    <li role="presentation"><a  href="ViewCourses.action" role="menuitem" tabindex="-1">显示课程信息</a></li>
					    </ul>
					</li>
						
					
			     
			</ul>	
			<form class="navbar-form navbar-left" role="search">
			        	<div class="form-group">
			          		<input type="text" class="form-control" placeholder="Search">
			        	</div>
			        	<button type="submit" class="btn btn-default">Search</button>
			</form>
			<ul class="nav navbar-nav navbar-right">
					
					<li>
			        ${sessionScope.admin.name}&nbsp;&nbsp;
			      	${requestScope.greeting}
			      	<a href="Logout.action">Logout</a>
			        </li>
			</ul>	
		</div>
		</div>
		<div class="col-md-2"></div>
		</div>
	</div>
</nav>
</header>

<script type="text/javascript">
//$(function(){
//    $(".dropdown-toggle").dropdown('toggle');
//    }); 
    
$('.dropdown-toggle').dropdown()
			
</script>
<br><br><br><br><br><br><br><br>
</body>
</html>